package com.zlt.healthpass.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;

@Component
@ApiModel(value = "用户信息对象", description = "返回用户信息")
public class UserInfo {//类

    @ApiModelProperty("用户id")
    private int id;
    //姓名属性
    @ApiModelProperty("姓名")
    private String name;//属性
    //身份证号属性
    @ApiModelProperty("身份证号")
    private String idCard;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
}
